package com.liuliu.zua.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.liuliu.common.annotation.Excel;
import com.liuliu.common.core.domain.BaseEntity;

/**
 * 1对象 zua_student_teacher_class
 * 
 * @author liuliu
 * @date 2021-03-25
 */
public class ZuaStudentTeacherClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生老师班级连接表主键 */
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentid;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherid;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentid(Long studentid) 
    {
        this.studentid = studentid;
    }

    public Long getStudentid() 
    {
        return studentid;
    }
    public void setTeacherid(Long teacherid) 
    {
        this.teacherid = teacherid;
    }

    public Long getTeacherid() 
    {
        return teacherid;
    }
    public void setClassid(Long classid) 
    {
        this.classid = classid;
    }

    public Long getClassid() 
    {
        return classid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentid", getStudentid())
            .append("teacherid", getTeacherid())
            .append("classid", getClassid())
            .toString();
    }
}
